package com.springboot.code.String;

import com.opencsv.bean.CsvBindByName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * DESC:
 *
 * @author WangJie
 * @date Created in 2023-07-03 20:15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CsvFile implements Serializable {

    @CsvBindByName (column = "name")
    private String name;

    @CsvBindByName(column = "title")
    private String title;

    @CsvBindByName(column = "number")
    private String number;

    @CsvBindByName(column = "type")
    private String type;

    @CsvBindByName(column = "personnel")
    private String personnel;

    @CsvBindByName(column = "time")
    private String time;

    @CsvBindByName(column = "sum")
    private double sum;
}
